﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	Taskr - Customization
</asp:Content>

<asp:Content ContentPlaceHolderID="BodyContent" runat="server">

	<div class="content-block">
	    
        <div class="content-block-header">
		    <div class="content-block-header-left"></div>
			    <h3>Customize Taskr</h3>                                                                      
			<div class="content-block-header-right"></div>
			<div class="clear-both"></div>
		</div>

        <div class="block-panel">      

            <% using (Html.BeginForm("Update", "Customize"))
               { %>            

                <div class="standard-form">

				    <div class="field">
				        <label for="customLogo">Custom Logo Url</label>                    
                        <%= Html.TextBox("logoUrl", ((SaaSKit.Taskr.Service.SettingsDTO)ViewData["CustomTaskrSettings"]).CustomLogoUrl, new { Class = "textbox" })%>
					    <p class="help">A url to a hosted image that we'll display for your company logo.</p>
				    </div>

				    <div class="field">
				        <label for="customLogo">Custom Task Statuses</label>                    
					    <%= Html.TextBox("customStatuses", ((SaaSKit.Taskr.Service.SettingsDTO)ViewData["CustomTaskrSettings"]).CustomStatuses, new { Class = "textbox" })%>
					    <p class="help">A comma-delimited list of statuses for your tasks (e.g. "Started, Waiting, Abandoned").</p>
				    </div>
                                        
				    <div class="field">
				        <label for="customLogo">Custom CSS</label>                    
					    <p class="help">Provide custom CSS to override default Taskr styles.</p>
                        <%= Html.TextArea("customCss", ((SaaSKit.Taskr.Service.SettingsDTO)ViewData["CustomTaskrSettings"]).CustomStyle, new { Class = "textarea" })%>                        
				    </div>

                    <input type="submit" value="Save Settings" />

                </div>

            <% } %>
                         
            <div class="clear-both"></div>
        </div>

		<div class="content-block-footer">            
		    <div class="content-block-footer-left"></div>
			<div class="content-block-footer-right"></div>
			<div class="clear-both"></div>
		</div>

    </div>  
  
</asp:Content>
